package com.atguigu.lease.app.service;

import com.atguigu.lease.model.bean.BrowsingHistory;
import com.atguigu.lease.model.vo.app.HistoryItemVo;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;

/**
* @author 1
* @description 针对表【browsing_history(浏览历史)】的数据库操作Service
* @createDate 2025-06-20 14:04:43
*/
public interface BrowsingHistoryService extends IService<BrowsingHistory> {

    void saveBrowsingHistoryAsyc(Long roomId, Long userId);

    Page<HistoryItemVo> pageItem(Long current, Long size);
}
